import request from '@/utils/request'

export function listEmergency(params){
  return request({ url: '/emergency/list', method: 'get', params })
}

export function addEmergency(data){
  return request({ url: '/emergency', method: 'post', data })
}

export function deleteEmergency(id){
  return request({ url: `/emergency/${id}`, method: 'delete' })
}


